package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.COperationexceptionDao;
import gov.ccswj.modules.ccbusiness.entity.COperationexceptionEntity;
import gov.ccswj.modules.ccbusiness.service.COperationexceptionService;



@Service("cOperationexceptionService")
public class COperationexceptionServiceImpl implements COperationexceptionService {
	@Autowired
	private COperationexceptionDao cOperationexceptionDao;
	
	@Override
	public COperationexceptionEntity queryObject(Integer id){
		return cOperationexceptionDao.queryObject(id);
	}
	
	@Override
	public List<COperationexceptionEntity> queryList(Map<String, Object> map){
		return cOperationexceptionDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cOperationexceptionDao.queryTotal(map);
	}
	
	@Override
	public void save(COperationexceptionEntity cOperationexception){
		cOperationexceptionDao.save(cOperationexception);
	}
	
	@Override
	public void update(COperationexceptionEntity cOperationexception){
		cOperationexceptionDao.update(cOperationexception);
	}
	
	@Override
	public void delete(Integer id){
		cOperationexceptionDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cOperationexceptionDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cOperationexceptionDao.delete(entname);
		
	}
}
